<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="<%=basePath%>">

<%@include file="/jsp/common/jspCommonHeadSetting.jsp"%>
<link href="<c:url value="css/login.css"/>" type="text/css"
	rel="stylesheet" />
<title>network</title>
</head>
<body>
	<div id="wrap">
		<div id="main">
			<div id="logo"></div>
			<div id="loginbox">
				<s:form action="login" method="post">
					<span class="input_line"><s:textfield label="用户名" cssClass="input_label"
							name="username" maxlength="20"></s:textfield> </span>
					<span class="input_line"><s:password label="密  码" cssClass="input_label"
							name="password" maxlength="20"></s:password> </span>
					<s:submit cssClass="input_btn" name="submit" value="提 交"></s:submit>	

				</s:form>
				<s:if test="#request.error != null">
					<div id="error">${requestScope.error }</div>
				</s:if>
			</div>
		</div>
		<div id="footer">V 1.0</div>
	</div>
</body>
</html>
